package com.wdl.sm.webui.security;

import org.springframework.data.mongodb.repository.MongoRepository;

public interface SUserRepository extends MongoRepository<SUser, String> {
    public SUser findByName(String name);
    public SUser findByEmail(String email);
    public SUser findByNameAndPassword(String name, String password);
}